package cc.yugu.yhdw.common.domain.basic;

/**
 * 通过微信创建的支付订单（添加用户名）
 *
 * @Date:Created in 2018/7/24 10:14
 * @Author:
 * @Modified By: zxj 2018/7/24 10:14
 */
public class WeixinPayOrder extends PayOrder {
    String customerName;// 客户姓名

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }
    /**
     * 获取订单状态
     * @Param []
     * @Return java.lang.String
     * @Author zxj 2018/7/24
     */
    public String getStatusName(){
        if (orderStatus == null || Status.getName(orderStatus) == null) {
            return "";
        }
        return Status.getName(orderStatus);
    }
}
